Skip to content

Add explain skill and deploy skills via Ansible#81

Merged
michaelbarton merged 3 commits intomasterfrom
claude/add-skills-ansible-deploy-nEvJI
Mar 10, 2026
Merged

Add explain skill and deploy skills via Ansible#81
michaelbarton merged 3 commits intomasterfrom
claude/add-skills-ansible-deploy-nEvJI

Conversation

@michaelbarton
Copy link
Owner

Summary

This PR introduces a new "explain" skill for code comprehension and establishes infrastructure to deploy skills through Ansible configuration management.

Key Changes

  • New skill: explain — A two-part reporting skill that generates both intuitive and technical explanations of code files. Designed to support onboarding, code review, and building context on unfamiliar code.

  • Skills deployment automation — Added ansible/tasks/skills.yml to automate linking skill files from the dotfiles repository to the user's .agents/skills directory. The task:

    • Creates the skills directory with appropriate permissions
    • Discovers all skill files in the repository
    • Creates symbolic links to make them available to agents
  • Ansible integration — Updated ansible/dotfiles.yml to include the new skills deployment tasks in the setup workflow, tagged for selective execution.

  • Skills directory — Created skills/ directory with .gitkeep to establish the skills repository structure.

Implementation Details

The explain skill provides structured guidance with two distinct sections:

  1. Intuitive Explanation — High-level overview suitable for colleagues unfamiliar with the project
  2. Technical Explanation — Precise implementation details with specific references to code structure, data flow, and dependencies

The Ansible deployment uses symbolic links rather than copying files, allowing skills to be updated in the dotfiles repository and automatically reflected in the user's environment.

https://claude.ai/code/session_01BhBiF3EqTSMfFCWNGpx6B8

claude added 3 commits March 10, 2026 02:06
Creates a skills/ directory in the dotfiles repo and an Ansible task that
dynamically finds all skill files and symlinks them into ~/.agents/skills/.

https://claude.ai/code/session_01BhBiF3EqTSMfFCWNGpx6B8
Produces an intuitive overview and a detailed technical breakdown
for a given file.

https://claude.ai/code/session_01BhBiF3EqTSMfFCWNGpx6B8
Apply agentskills.io guidance: use imperative phrasing, cover
implicit user intents, and be explicit about when to activate.

https://claude.ai/code/session_01BhBiF3EqTSMfFCWNGpx6B8
@michaelbarton michaelbarton merged commit 3228425 into master Mar 10, 2026
2 checks passed
@michaelbarton michaelbarton deleted the claude/add-skills-ansible-deploy-nEvJI branch March 10, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants